package com.luguangtao.filter;

import com.netflix.zuul.ZuulFilter;
import com.netflix.zuul.exception.ZuulException;
import org.hibernate.validator.internal.metadata.location.GetterConstraintLocation;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @类名: com.luguangtao.filter
 * @作者: lgt
 * @创建时间: 2019-12-16 10:53
 * @描述:
 **/
public class MyFilter extends ZuulFilter {
    @Override
    public String filterType() {
        return "pre";
    }

    @Override
    public int filterOrder() {
        return 0;
    }

    @Override
    public boolean shouldFilter() {
        return true;
    }

    @Override
    public Object run() throws ZuulException {

        return null;
    }
}
